<%@ page language="java" contentType="text/html; charset=utf-8"    pageEncoding="utf-8"%>
<%@include file="header.jsp"%>
<script language="JavaScript" type="text/javascript" src="../datePicker/WdatePicker.js"></script>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.STYLE1 {
	color: #666666;
	font-weight: bold;
}
.STYLE5 {color: #666666}
.STYLE6 {
	color: #135294;
	font-weight: bold;
}
-->
</style>
<form method="post" action="addPriceQry.action">
 <table width="95%" border="1" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" align="center">
 	<tr>
 		<td  colspan="4" background="images/bg_table.jpg" bgcolor="#ECEAE6" align="center">查询</td>
 	</tr>
	<tr bgcolor='#F1F3F5'>
 		<td width="11%">手机类型</td>
 		<td width="29%">
 			<s:select list="productTypeList"  listValue="typeName" listKey="id"  name="productyTypeIdQ"  
 			id="productyTypeIdQ"  headerKey="-1" headerValue="--请选择子类型--"  value="productyTypeIdQ"></s:select>
	  </td>
 		<td width="7%">时间</td> 		 
	  <td width="53%">
	  	<input class="Wdate" type="text" id="beginDate" name="beginDate" value="<s:property value='beginDate'/>"  onFocus="WdatePicker({isShowClear:false,readOnly:true})"/>
	  		-
	  	<input class="Wdate" type="text" id="endDate" name="endDate" value="<s:property value='endDate'/>" onFocus="WdatePicker({isShowClear:false,readOnly:true})"/>
  	  </td>
	</tr>	
	<tr>
		<td  colspan="4"    nowrap background="images/bg_table.jpg" bgcolor="#ECEAE6"  align="center"><input type="submit" /></td>
	</tr>
</table> 
</form>
<br/>
<div align="center">产品列表</div>
 <table width="98%" border="0" cellpadding="3" cellspacing="2" bgcolor="#FFFFFF" align="center">
 	<tr>
 		<td width="15%" nowrap background="images/bg_table.jpg" bgcolor="#ECEAE6">手机名称</td>
		<td width="15%" nowrap background="images/bg_table.jpg" bgcolor="#ECEAE6">类型</td>
		<%-- 
		
 		<td width="38%" nowrap background="images/bg_table.jpg" bgcolor="#ECEAE6">语言</td>
		--%>
 		<td width="70%" nowrap background="images/bg_table.jpg" bgcolor="#ECEAE6">操作</td>
 	</tr>
 	<s:iterator value="productList">
 	<tr bgcolor='#F1F3F5' onmouseover = "this.style.backgroundColor = '#FFDCB0'" onmouseout = "this.style.backgroundColor = ''" style=''>
 		<td><a href="<%=contextPath%>/detailMobile.action?productId=<s:property value='id'/>" target="_blank"><s:property value="name"/></a></td>
		<td><s:property value="productytypeName"/></td>
		<%--
 		<td>
 			<s:if test='langId==0'>简体</s:if>
 			<s:if test='langId==1'>繁体</s:if>
 			<s:if test='langId==2'>英语</s:if>
 		</td>
		--%>
 		<td>
 		<a href="beforUpdateProduct.action?productId=<s:property value='id'/>">编辑</a>&nbsp;
 		<a href="deleteProduct.action?productId=<s:property value='id'/>" onclick="javascript:if(confirm('确定删除该手机吗')) return true; else return false;">删除</a>&nbsp;
 		<a href="productBase.action?productId=<s:property value='id'/>&langId=<s:property value='langId'/>">基本</a>&nbsp;
 		<a href="productDigiFunc.action?productId=<s:property value='id'/>&langId=<s:property value='langId'/>">数据应用</a>&nbsp;
 		<a href="productCameraFunc.action?productId=<s:property value='id'/>&langId=<s:property value='langId'/>">拍照</a>&nbsp;
 		<a href="productMultimediaFunc.action?productId=<s:property value='id'/>&langId=<s:property value='langId'/>">多媒体娱乐</a>&nbsp; 
 		<a href="color.action?productId=<s:property value='id'/>&langId=<s:property value='langId'/>">款色</a>&nbsp;
 		<a href="packageCompose.action?productId=<s:property value='id'/>&langId=<s:property value='langId'/>">套餐</a>&nbsp;
 		<a href="productDetailMsg.action?productId=<s:property value='id'/>&langId=<s:property value='langId'/>&operateType=load">详细</a>&nbsp;
 		</td>
 	</tr>
 	</s:iterator>
 	<tr><td colspan="3" nowrap  bgcolor='#E4EDF9'>
 	<a href="productList.action?currentPage=<s:property value='prevPage'/>">上一页</a>
 	<a href="productList.action?currentPage=<s:property value='nextPage'/>">下一页</a>
 	共<s:property value='totalPage'/>页
 	<a href="addPrice.action">新增</a>	
 	</td><tr/>
 </table> 
 <%--
 <table width="95%" border="0" cellpadding="3" cellspacing="2" bgcolor="#FFFFFF" align="center">
 	<tr>
 		<td   nowrap background="images/bg_table.jpg" bgcolor="#ECEAE6" align="left">
			<a href="product.action">新增</a>
			<a href="beforUpdateProduct.action?productId=<s:property value='id'/>">编辑</a>&nbsp;
 		<a href="deleteProduct.action?productId=<s:property value='id'/>" onclick="javascript:if(confirm('确定删除该手机吗')) return true; else return false;">删除</a>&nbsp;
 		<a href="productBase.action?productId=<s:property value='id'/>&langId=<s:property value='langId'/>">基本功能</a>&nbsp;
 		<a href="productDigiFunc.action?productId=<s:property value='id'/>&langId=<s:property value='langId'/>">数据应用功能</a>&nbsp;
 		<a href="productCameraFunc.action?productId=<s:property value='id'/>&langId=<s:property value='langId'/>">拍照功能</a>&nbsp;
 		<a href="productMultimediaFunc.action?productId=<s:property value='id'/>&langId=<s:property value='langId'/>">多媒体娱乐功能</a>&nbsp;
		</td>
 	</tr>
 	<tr>
</table> 
--%>